# base image
FROM registry.cn-shanghai.aliyuncs.com/alphainsight/java_base:v2_with_spark
ENV LANG C.UTF-8
COPY ./target/classes/application.yml  "/home/tomcat/"
COPY ./target/zuul-0.0.1-SNAPSHOT.jar "/home/tomcat/"
CMD ["java", "-jar", "/home/tomcat/zuul-0.0.1-SNAPSHOT.jar",  "--spring.config.location=/home/tomcat/application.yml"]